home *** CD-ROM | disk | FTP | other *** search
/ Acorn RISC PD-CD 1 / Acorn RISC PD-CD 1.iso / languages / dde / _pascals / _cstart < prev    next >
Text File  |  1992-04-01  |  2KB  |  52 lines

  1. | > !Cstart
  2. |----------------------------------------------------------
  3. |
  4. set clib$flag 0
  5. RMensure SharedClibrary 3.50 set clib$flag 1
  6. RMensure SharedClibrary 0 set clib$flag 0
  7. if "<clib$flag>"="1" then Error !!! Old shared C library !!! An old version of the shared C library (clib) is resident in memory. See page 44-45 of the Acorn C manual.
  8. unset clib$flag
  9. |
  10. | Set up the location for the C programming session
  11. | -------------------------------------------------
  12. |
  13. Echo !Cstart procedure for getting started
  14. Echo 
  15. |
  16. adfs
  17. Echo Advanced Disc Filing System selected
  18. Echo
  19. |
  20. set c$loc :IDEDisc4.$
  21. | * If your C system is installed on a hard disc, edit the above line to *
  22. | * read 'set c$loc :4.$'                                                *
  23. |
  24. | Install the shared C library (clib)
  25. | -----------------------------------
  26. |
  27. RMensure SharedClibrary 3.50 RMload <c$loc>.!System.modules.clib
  28. RMensure SharedClibrary 3.50 Error You need at least version 3.50 of the shared C library
  29. Echo Version 3.50, or later, of the shared C library installed
  30. |
  31. | Install the floating point emulator
  32. | -----------------------------------
  33. |
  34. RMensure FPEmulator 2.80 RMload <c$loc>.!System.modules.FPE280
  35. RMensure FPEmulator 2.80 Error You need at least version 2.80 of the floating point emulator
  36. Echo FPE 2.80 (or later) installed
  37. Echo
  38. |
  39. | Select library directory and current directory
  40. | ----------------------------------------------
  41. |
  42. LIB <c$loc>.C-Compiler.library
  43. Echo <c$loc>.C-Compiler.Library set as the current library
  44. DIR <c$loc>.!Pascals
  45. Echo <c$loc>.!Pascals selected as the current directory
  46. Echo
  47. |
  48. unset c$loc
  49. Echo !Cstart procedure successfully completed
  50. |
  51.